package cn.com.surker.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author lucky
 * @create 2021年06月01 14:50
 * @desc
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/404")
    public String error404(){
        return "error/404";
    }

    @RequestMapping("/500")
    public String error500(){
        return "error/500";
    }

    @RequestMapping("/403")
    public String error403(){
        return "error/403";
    }

    @RequestMapping("/ip/code")
    public String errorIpCode(){
        return "error/ip_code";
    }

    @RequestMapping("/system/ip")
    public String errorSystemIp(){
        return "error/system_ip";
    }

}
